package cn.jishiyu11.xeqb.http.http.i

import java.io.IOException

import okhttp3.Request

/**
 * Created by vvguoliang on 2017/7/1.
 * 网络接口定义
 */

interface DataCallBack {

    fun requestFailure(request: Request, name: String, e: IOException)

    @Throws(Exception::class)
    fun requestSuccess(result: String, name: String)
}
